import request from '@/utils/request'

// 查询用户跟投信息列表
export function listDealUserInvestmentDetails(query) {
  return request({
    url: '/details/dealUserInvestmentDetails/list',
    method: 'get',
    params: query
  })
}

// 查询用户跟投信息详细
export function getDealUserInvestmentDetails(id) {
  return request({
    url: '/details/dealUserInvestmentDetails/' + id,
    method: 'get'
  })
}

// 保存用户跟投信息
export function saveDealUserInvestmentDetails(data) {
  return request({
    url: '/details/dealUserInvestmentDetails/save',
    method: 'post',
    data: data
  })
}

// 删除用户跟投信息
export function delDealUserInvestmentDetails(id) {
  return request({
    url: '/details/dealUserInvestmentDetails/' + id,
    method: 'delete'
  })
}

// 导出用户跟投信息
export function exportDealUserInvestmentDetails(query) {
  return request({
    url: '/details/dealUserInvestmentDetails/export',
    method: 'get',
    params: query
  })
}
